//
//  XYEmoticonPopView.swift
//  WeiboSourceCode
//
//  Created by 周星宇 on 16/1/8.
//  Copyright © 2016年 cn.weibo. All rights reserved.
//

import UIKit

class XYEmoticonPopView: UIView {

    @IBOutlet weak var btn: XYEmoticonBtn!
    
    var emoticon: XYEmoticon? {
        didSet {
            btn.emoticon = emoticon
        }
    }
    class func popView() -> XYEmoticonPopView {
        
        return NSBundle.mainBundle().loadNibNamed("XYEmoticonPop", owner: nil, options: nil).last! as! XYEmoticonPopView
    }
}
